function validateForm() {
    const username = document.getElementById('username').value;


    const chineseRegex = /[\u4e00-\u9fa5]/;

    console.log(username)
    if (chineseRegex.test(username)) {
        alert('用户名中不能包含汉字');
        return false;
    }else{
        alert('登录成功');
    }

}